package com.jbit.common.constans;

/**
 * @author LiRenZhi
 * @Description: 系统常量类
 * @date 2021-09-21 12:28
 */
public class SystemConstants {
    public interface UserType {
        /**
         * 用户类型常量
         */
        public static final Integer REGISTRATION = 0;
        public static final Integer WE_CHAT_LOGIN = 1;
        public static final Integer QQ_LOGIN = 2;
        public static final Integer WEI_BO_LOGIN = 3;
    }

    /**
     * 用户激活状态
     */
    public interface UserActiveStatus {
        public static final Integer NOT_ACTIVE = 0;
        public static final Integer IS_ACTIVE = 1;
    }

    /**
     * 订单来源
     */
    public interface OrderBookType {
        Integer WEB = 0;
        Integer PHONE = 1;
        Integer OTHER = 2;
    }

    /**
     * 0：待支付 1:已取消 2:支付成功 3:已消费 4：已点评）
     */
    public interface OrderStatus {
        public static final Integer TO_BE_PAID = 0;
        public static final Integer IS_CANCELLED = 1;
        public static final Integer PAYMENT_SUCCESSFUL = 2;
        public static final Integer IS_CONSUMED = 3;
        public static final Integer IS_REVIEWED = 4;
    }
}
